// dy-service/src/main/java/com/zjyd/dyservice/feign/VideoServiceFeign.java
package com.zjyd.dyservice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
@Service
// 声明要调用的服务名称（dy-video的application.yml中spring.application.name）
@FeignClient(name = "DouYang-Video")
public interface VideoServiceFeign {

    // 对应dy-video中VideoController的接口路径
    @GetMapping("/video/process")
    String processBusiness();
}